body{
  font-size: 12px;
  line-height: 1.5em;
  font-family: "Microsoft YaHei","arial","sans-serif" !important;
  color: #000;
}
a{
  font-size: 12px;
  line-height: 1.5em;
  font-family: "Microsoft YaHei","arial","sans-serif" !important;
  color: #000;
  text-decoration: none !important;
}
.container-fluid{
  padding: 0;
}

// 头部区域
.header {
  z-index: 999;
  >div {
    padding: 0 5%;
  }
  // 头部顶部区域
  .header-top {
    padding: 0;
    div {
      padding: 0 5%;
      &:nth-of-type(1) {
        background-color: #222;
        a {
          font-size: 14px;
          color: #fff;
          height: 28px;
          line-height: 28px;
        }
      }
      &:nth-of-type(2) {
        border-bottom: 3px solid #ccc;
        ul {
          list-style: none;
          li {
            margin-top: 32px;
            padding: 0;
            white-space: nowrap;
            margin-right: 6%;
            a{
              color: #000;
            }
            h6{
              font-weight: bold;
              color: #f66f6a;
              i{
                transition: all 0.5s linear;
              }
              &:hover{
                i{
                  margin-left: 20px;
                }
              }
            }
            &:nth-child(1){
              h6{
                font-weight: bold;
                color: #000;
              }
            }
          }
        }
      }
    }
  }
  // 头部中间区域
  .header-middle {
    padding: 0;
    height: 65px;
    background-color: #fff;
    .navbar {
      padding: 10px 5%;
    }
    // 菜单按钮
    .navbar-toggler {
      width: 32px;
      height: 32px;
      line-height: 32px;
      text-align: center;
      border: none;
      outline: none;
      span{
        display: block;
        width: 24px;
        height: 2px;
        background: rgb(60,60,60);
        margin: 5px 0;
        transition: all 0.5s linear;
      }
      &.on {
        span:nth-child(1){
          transform: rotate(45deg) translate(5px, 5px);
        }
        span:nth-child(2){
          transform: scale(0);
        }
        span:nth-child(3){
          transform: rotate(-45deg) translate(5px, -5px);
        }
      }
    }
    // logo部分
    .navbar-brand {
      display: inline-block;
      width: 40px;
      height: 40px;
      background: url("./../images/v3-icon.svg") no-repeat;
      background-position: -208px -19px;
      @media screen and (min-width: 1450px){
        width: 153px;
        height: 34px;
        background-position: -29px -26px;
      }
      @media screen and (max-width: 1199px){
        width: 153px;
        height: 34px;
        background-position: -29px -26px;
      }
    }
    // 购物袋部分
    .navbar-shop {
      width: 32px;
      height: 32px;
      line-height: 32px;
      text-align: center;
      border: 1px solid #000;
      border-radius: 5px;
    }
    // 导航条部分
    .navbar-nav {
      margin-left: 50px;
      .nav-item {
        .nav-link {
          font-size: 12px;
          margin-right: 20px;
          @media screen and(min-width: 1450px){
            font-size: 14px;
            margin-right: 30px;
          }
          @media screen and(min-width: 1650px){
            font-size: 16px;
            margin-right: 50px;
          }
          &::after {
            content: "";
            width: 7px;
            height: 6px;
            display: inline-block;
            background: url("./../images/v3-icon.svg") no-repeat;
            background-position: -21px -96px;
            position: relative;
            top: -3px;
          }
        }
      }
      .login-item {
        margin: 0 5%;
        padding-bottom: 10px;
        border-bottom: 1px solid #ccc;
        span {
          color: #ccc;
          position: relative;
          left: 50%;
          top: 5px;
          transform: translateX(-50%);
        }
      }
      .search-item {
        border-bottom: 1px solid #ccc;
        padding-bottom: 10px;
      }
    }
    // 导航条右边部分
    .navbar-other {
      a {
        margin-left: 20px;
        display: inline-block;
        &:nth-of-type(1) {
          width: 20px;
          height: 20px;
          background: url("../images/搜索.png") no-repeat center center;
          background-size: 100%;
          margin-left: 0;
        }
        &:nth-of-type(2) {
          width: 24px;
          height: 26px;
          background: url("../images/用户-角色-用户名-单人_jurassic.png") no-repeat center center;
          background-size: 100%;
        }
        &:nth-of-type(3) {
          font-size: 12px;
          @media screen and(min-width: 1450px){
            font-size: 14px;
            margin-right: 30px;
          }
          @media screen and(min-width: 1650px){
            font-size: 16px;
            margin-right: 50px;
          }
          display: flex;
          align-items: center;
          i {
            display: inline-block;
            height: 24px;
            width: 24px;
            background: url("../images/分享.png") no-repeat center center;
            background-size: 100%;
            margin-left: 10px;
          }

        }
      }
      span {
        margin-left: 20px;
      }
    }
  }
  // 头部底部区域
  .header-bottom{
    height: 64px;
    background: #f5f3f3;
    position: relative;
    .second-title{
      line-height: 64px;
      font-weight: bold;
      color: #000 !important;
      font-size: 16px;
      @media screen and(min-width: 1200px){
        font-size: 24px;
      }
    }
    .arrow{
      display: inline-block;
      width: 21px;
      height: 11px;
      background: url("./../images/v3-icon.svg") no-repeat;
      background-position: -347px -488px;
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
    }
    ul{
      li{
        line-height: 64px;
        margin-left: 20px;
        a{
          color: #000;
          font-size: 14px;
        }
      }
    }
  }
}

/*第一屏*/
.section1{
  background: #fff;
  //opacity: 0.5;
}

// 第二屏
.section2 {
  position: relative;
  z-index: 666;
  background: #fff;
  >div {
    width: 70%;
    margin: 0 auto;
  }
  // 第二屏顶部
  .section2-top {
    padding: 100px 0;
    >div {
      &:nth-of-type(1) {
        p {
          position: relative;
          top: 200px;
          line-height: 45px;
          font-size: 2.3vw;
          color: #222;
          font-weight: bold;
          white-space: nowrap;
          opacity: 0;
          &:nth-of-type(1) {
            top: 50px;
            font-size: 1.3vw;
            line-height: 25px;
            color: #8c8c8c;
          }
        }
      }
      &:nth-of-type(2) {
        position: relative;
        top: 200px;
        font-size: 1.3vw;
        line-height: 30px;
        color: #222;
        margin-left: 200px;
        padding-top: 50px;
        opacity: 0;
      }
    }
  }
  // 第二屏中间
  .section2-middle {
    position: relative;
    img {
      &:nth-of-type(1) {
        width: 20%;
        transform: translateX(0%);
      }
      &:nth-of-type(2) {
        width: 20%;
        transform: translateX(0%);
      }
      &:nth-of-type(3) {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        width: 80%;
        opacity: 0;
      }

      &:nth-of-type(4) {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        width: 60%;
        opacity: 0;
      }
    }
  }

  // 第二屏底部
  .section2-bottom {
    width: 70%;
    margin: 100px auto;
    .swiper-container {
      width: 100%;
      // vw是一个视口单位(视口即可视区)
      height: 34vw;
      background-color: pink;
      border-radius: 35px;
      // 轮播项
      .swiper-slide {
        position: relative;
        img {
          position: absolute;
        }
        &:nth-of-type(1) {
          background: #ffdbc6;
          img {
            &:nth-of-type(1) {
              width: 36%;
              left: 15%;
              bottom: -40%;
              z-index: 1;
            }
            &:nth-of-type(2) {
              width: 36%;
              left: 30%;
              bottom: -60%;
            }
          }
        }
        &:nth-of-type(2) {
          background: #ace3e5;
          img {
            &:nth-of-type(1) {
              width: 48%;
              left: 40%;
              bottom: 40%;
            }
            &:nth-of-type(2) {
              width: 48%;
              left: 25%;
              top: 40%;
            }
          }
        }
        &:nth-of-type(3) {
          background: #e0daf5;
          img {
            &:nth-of-type(1) {
              width: 34%;
              left: 30%;
              bottom: -40%;
            }
            &:nth-of-type(2) {
              width: 38%;
              left: 41%;
              bottom: -30%;
            }
          }
        }
        &:nth-of-type(4) {
          background: #dbdbdb;
          img {
            &:nth-of-type(1) {
              width: 25%;
              left: 27%;
              bottom: -30%;
            }
            &:nth-of-type(2) {
              width: 25%;
              left: 45%;
              bottom: -30%;
            }
          }
        }
      }
      // 分页器
      .swiper-pagination {
        position: absolute;
        width: auto;
        left: auto;
        bottom: 10%;
        right: 10%;
        .my-bullet {
          display: inline-block;
          width: 1.3vw;
          height: 1.3vw;
          border-radius: 50%;
          background: #000;
          margin: 0 5px;
          &:nth-child(1) {
            color: #ff6b29;
            background: #ff6b29;
          }
          &:nth-child(2) {
            color: #16c196;
            background: #16c196;
          }
          &:nth-child(3) {
            color: #9676ff;
            background: #9676ff;
          }
          &:nth-child(4) {
            color: #434040;
            background: #434040;
          }
        }
        .my-bullet-active {
          border: 3px solid #fff;
          box-sizing: border-box;
          box-shadow: 0 0 10px;
        }
      }
      // 白线
      .swiper-line {
        width: 4vw;
        height: 3px;
        background-color: #ffffff;
        position: absolute;
        left: 5%;
        top: 10%;
        z-index: 66;
      }
      // 滚动的字体
      .swiper-name, .swiper-num {
        font-size: 40px;
        height: 45px;
        line-height: 45px;
        overflow: hidden;
        color: #fff;
        position: absolute;
        left: 5%;
        top: 15%;
        z-index: 666;
        span {
          display: block;
          position: relative;
          top: 0px;
        }
      }
      .swiper-num {
        left: auto;
        top: 5%;
        right: 5%;
      }
    }
  }
}
@keyframes mySlideInUp {
  0% {
    transform: translateY(20%);
    visibility: visible;
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}
.mySlideInUp {
  animation-name: mySlideInUp;
}
@keyframes mySlideInDown {
  0% {
    transform: translateY(-20%);
    visibility: visible;
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}
.mySlideInDown {
  animation-name: mySlideInDown;
}
